<?php

/**
 * @author      Nguyen Duc Thuan<me@ndthuan.com>
 * @copyright   Nguyen Duc Thuan <me@ndthuan.com>
 */
class Fete_View_Helper_BaseUrl extends Fete_View_Helper
{
    protected $_baseUrl = null;

    /**
     *
     * @return string
     */
    public function baseUrl()
    {
        if (null === $this->_baseUrl) {
            $this->_baseUrl = Fete_Kernel::getInstance()->getBaseUrl();
        }
        return $this->_baseUrl;
    }
}